<!-- 监控查询 -->

<template>
  <WebSearch :noSearch="!hasParam">
    <template v-if="isManage" #btn>
      <ParamTab :autoSearch="false" />
    </template>

    <slot v-if="hasParam">
      <ParamCheckbox bind="statusList" :dict="GETTER.STATUS" hasRight />
      <ParamInput label="设备名称" bind="deviceName" />
    </slot>
  </WebSearch>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import SecureSearch from '@admin/views/Secure/components/SecureSearch'

// ============================== 导出组件 ============================== //

export default CORE.extend(SecureSearch, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MonitorSearch',
})
</script>
